package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.OrderStatusEnum;
import com.sc.nft.sup.SuperEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单sql表
 *
 * @TableName sc_business_card_order
 */
@TableName(value = "sc_business_card_order")
@Data
@ApiModel(value = "sc_business_card_order 对象", description = "")
public class BusinessCardOrder extends SuperEntity implements Serializable {
    /**
     * 购买用户Id
     */
    private Long userId;

    /**
     * 购买价格
     */
    private BigDecimal buyPrice;

    /**
     * 购买价格(红包支付)
     */
    private BigDecimal buyPayBalancePrice;

    /**
     * 状态
     */
    private OrderStatusEnum status;

    /**
     * 订单号
     */
    private String orderNo;

    /**
     * 藏品名称
     */
    private String firstTitle;

    /**
     * 图片
     */
    private String imageUrl;

    /**
     * 下单时间
     */
    private Date orderTime;

    /**
     * 交易时间
     */
    private Date payTime;

    /**
     * 关闭时间
     */
    private Date closeTime;

    /**
     * 实际关闭时间
     */
    private Date realCloseTime;

    /**
     * 结算标记
     */
    private Boolean settleFlag;

}